<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="${ctx}/static/bootstrap/2.2.2/css/bootstrap.css" type="text/css" rel="stylesheet" />
<link href="${ctx}/static/css/default.css" type="text/css" rel="stylesheet" />
	<title>楼栋明细</title>
</head>
<body>
<br/>
<center>
	<table ><tr>
	<c:forEach items="${RESULT_MAP}" var="set">
		<td width="${(100*1) / (set.value['cnt']*1)}%">
		<table width="${(100*1) / (set.value['cnt']*1)}%" class="inputTable">
			<tr>
			<c:forEach items="${set.value['data'] }" var="data" varStatus="st">
				<c:if test="${st.index  % set.value['cnt'] == 0 }">
					</tr><tr>
				</c:if>
					<td style="background-color: #f0f5f7" nowrap="nowrap">${data.roomNo }</td>
			</c:forEach>
			</tr>
			<tr>
				<td style="background-color: #f0f5f7" colspan="${set.value['cnt'] }" ><center>${set.key }单元</center></td>
			</tr>
		</table>
	</td>
	</c:forEach>
	</tr></table>
</center>
</body>
</html>
